#pragma once
#include "UIElement.h"

namespace DirectUI
{

	class CUIControl : public CUIElement
	{
	public:
		DECLARE_CLASS(CUIControl, Control)

		UI_DECLARE_INTERFACE_MAP();

		UI_BEGIN_INTERFACE_PART(CUIControl, Control, IUIControl)
		UI_END_INTERFACE_PART(Control)
	public:
		CUIControl(void);
		virtual ~CUIControl(void);

		CUIObjectPtr<IUIElement>	m_spControlTemplate;
	};
}